xen/arm: Correct the opcode for BUG_INSTR on arm32
authorJulien Grall <julien.grall@linaro.org>
Thu, 4 Dec 2014 19:26:55 +0000 (19:26 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 9 Dec 2014 14:28:15 +0000 (14:28 +0000)
commita4338f903185cd53eacb161394c56b768a6f9f2a
tree8da4e68088331ded3219e749461a078d6985b070
parent6c6825c69e94f4d71bd2b354b6f9d77b2b9e3ed8
xen/arm: Correct the opcode for BUG_INSTR on arm32

A 0 was forgotten when the arm32 BUG instruction opcode has been added in commit
3e802c6ca1fb9a9549258c2855a57cad483f3cbd "xen/arm: Correctly support WARN_ON".

This will result to use a valid instruction (mcreq 0, 3, r0, cr15, cr0, {7}),
and inhibit usage of BUG/WARN_ON and co.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/include/asm-arm/arm32/bug.h